//
//  XSQNewViewController.m
//  BuDeJie
//
//  Created by Sem on 2018/6/25.
//  Copyright © 2018年 SEM. All rights reserved.
//

#import "XSQNewViewController.h"
#import "UIBarButtonItem+Item.h"
#import "XSQSubTagsTVC.h"
@interface XSQNewViewController ()

@end

@implementation XSQNewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //self.navigationItem.title=@"百思不得姐";
    [self setupNavBar];
    // Do any additional setup after loading the view.
}
-(void)setupNavBar{
    self.navigationItem.title=@"百思不得姐";
    self.navigationItem.leftBarButtonItem = [UIBarButtonItem ItmeWithImage:[UIImage imageNamed:@"MainTagSubIcon"] withHigthImage:[UIImage imageNamed:@"MainTagSubIconClick"] addTarget:self action:@selector(leftClick)];
    
    
    
}
-(void)leftClick{
    XSQSubTagsTVC *subTagsTVC =(XSQSubTagsTVC *) [XSQTools getControllerFromStoryBoard:@"XSQSubTagsTVC" WithIdentifier:@"XSQSubTagsTVC"];
    [self.navigationController pushViewController:subTagsTVC animated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
